package cn.hsa.fqz.task.service;

import cn.hsa.fqz.task.controller.vo.ClientDsConfigVO;
import cn.hsa.fqz.task.entity.SysDsConfig;
import cn.hsa.fqz.task.service.dto.SqlExecuteDTO;

import java.io.OutputStream;
import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @date 2023-11-16 15:03
 */
public interface SqlClientService {

    List<SysDsConfig> getAllDsConfig();

    Object startSqlExecute(SqlExecuteDTO execute);

    Integer addDs(ClientDsConfigVO vo);

    Integer updateDs(ClientDsConfigVO vo);

    Integer deleteDs(Integer dsId);

    void startSqlExecuteAndExport(SqlExecuteDTO execute, OutputStream os);
}
